package com.example.contestsystem.Entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;

@Entity
@Table(name = "sign_up_contest")
public class SignUpContest {
    /**
     * stu to contest: m to n;
     *
     */
    @Id
    private int signUpId;
    private String contestId;
    private int stuAccount;

    public String getContestId() {
        return contestId;
    }

    public void setContestId(String contestId) {
        this.contestId = contestId;
    }

    public int getStuAccount() {
        return stuAccount;
    }

    public void setStuAccount(int stuAccount) {
        this.stuAccount = stuAccount;
    }

    public int getSignUpId() {
        return signUpId;
    }

    public void setSignUpId(int signUpId) {
        this.signUpId = signUpId;
    }
}
